//基础配置
CONFIG = {
    //API地址
    ApiPath:"/finance/api/",
    fsPath:"/fs/api/",
    ApiVersion:"v1.0",
    //根目录
    BasePath:"/finance/",
    ComponentPath:"/finance/component/",
    //是否线上环境
    Isinline: false,
    debug:true
};
//seajs配置
seajs.config({
	//基本路径
    base: CONFIG.BasePath+'enterprise/',   
    // 别名配置
    alias:{
        util:CONFIG.BasePath+"js/util",
        base:CONFIG.BasePath+"js/enterprise/base",
        constant:CONFIG.BasePath+"js/constant",
        dialog:CONFIG.BasePath+"js/dialog",
        autocomplete:CONFIG.BasePath+"js/jquery.autocomplete",
        validate:CONFIG.BasePath+"js/validate",
        databind:CONFIG.BasePath+"js/databind",
        valuationCal:CONFIG.BasePath+"js/valuationCal/valuationCal",
        tools:CONFIG.BasePath+"js/tools",
        css_dialog:CONFIG.BasePath+"css/dialog.css",
        barcode:CONFIG.BasePath+"js/barcode/jquery-barcode.min",
        geetest: "http://static.geetest.com/static/tools/gt.js",
        media:CONFIG.BasePath+"js/jquery.media",
        layerjs: CONFIG.BasePath + "component/layer/layer"
    },
    map: [[/^(.*\.(?:css|js|html))(.*)$/i, '$1?v=20170607']],
    charset: 'utf-8',
    handler: '/finance/api/v1.0/'//访问地址
});